<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<h3><fmt:message key="login.heading"/></h3>
<form:form method="post" commandName="loginAdministrator">
  <table class="borderdlist">
    <tr>
      <td align="right" width="20%"><fmt:message key="login.username"/></td>
        <td width="20%">
          <form:input path="username"/>
        </td>
        <td width="60%">
          <form:errors path="username" cssClass="error"/>
        </td>
    </tr>
    <tr>
      <td align="right" width="20%"><fmt:message key="login.password"/></td>
      <td width="20%">
        <form:password path="password" />
      </td>
      <td width="60%">
        <form:errors path="password" cssClass="error"/>
      </td>
    </tr>
  </table>
  <br/>
  <input type="submit" align="center" class="btn" onmouseover="this.className='btn btnhov'" onmouseout="this.className='btn'" value="<fmt:message key="application.login"/>"/>
</form:form>
